﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace grid
{
    public partial class MainFrm : Form
    {
        public MainFrm()
        {
            InitializeComponent();
        }

        private void testToolStripMenuItem_Click(object sender, EventArgs e)
        {
            grid.Test(contextView, DrawPanel);
        }

        private void DrawPanel_Paint(object sender, PaintEventArgs e)
        {
            grid.Paint();
        }
    }
}
